package com.reform.service.impl;

import com.reform.pojo.common.DictLevel;
import com.reform.mapper.DictLevelMapper;
import com.reform.service.IDictLevelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 批次级别表 服务实现类
 * </p>
 *
 * @author mortale
 * @since 2021-07-14
 */
@Service
public class DictLevelServiceImpl extends ServiceImpl<DictLevelMapper, DictLevel> implements IDictLevelService {

    @Autowired
    DictLevelMapper dictLevelMapper;

    @Override
    public List<DictLevel> getDictLevels() {
        return dictLevelMapper.getLevels();
    }
}
